import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

// 引入 elementui 组件
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

// 引入二次封装/封装的组件
import "@/components/index";

// 引入 vu-mate
import VueMeta from "vue-meta";
Vue.use(VueMeta);

// 引入 iconfont
import "@/iconfont/iconfont.css";

// 引入全局 css
import "@/style/index.css";

import { resetForm } from "@/utils/ape";

// 全局方法挂载
Vue.prototype.resetForm = resetForm;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
